.header {
    margin: 0px;
    bottom: 0px;
    border-radius: 0%;
    background-color: #000;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100000;
    overflow: hidden;

    .logo {
        text-transform: uppercase;
        font-family: OSBold;
        color: #f5f5f5;
    }

    .nav li a {
        text-transform: uppercase;
        font-weight: bold;
        transition: all linear 1s;
        padding: 20px 16px;
        border-bottom: 3px solid transparent;

        &:hover {
            border-bottom: 3px solid #ffbf00;
        }
    }

    .navbar-toggle {
        margin-top: 13px;
    }

    @media screen and (max-width:770px) {
        .nav li a {
            text-align: center;
        }
    }
}


.banner {
    text-align: center;
    padding-top: 10em;
    padding-bottom: 8em;
    background-color: #000;

    .text1 {
        font-family: OSBold;
        text-transform: uppercase;
        font-size: 2.5em;
        color: #f3efef;

        span {
            font-family: OSBold;
            color: #ffbf00;
        }

    }

    .text2 {
        font-family: #f3efef;
        color: #f3efef;
        font-size: 20px;
        bottom: 10px;

        span {
            font-family: OSBold;
        }
    }

    .more {
        border: 2px solid #a09e9e;
        width: 2em;
        height: 2em;
        line-height: 2em;
        text-align: center;
        font-weight: bold;
        overflow: hidden;
        font-size: 2em;
        border-radius: 100px;

        margin: 0 auto; //RickyFlex
        margin-top: 120px;

        transition: all linear 1s;

        a {
            color: #f3efef;
        }

        &:hover {
            transform: translate(-10px);
            box-shadow: 0px 0px 20px 5px #a09e9e;
        }
    }

    @media screen and (max-width:770px) {
        & {
            background-color: #111111;

            .navbar {
                .nav {
                    a {
                        text-align: center;
                    }
                }
            }
        }

    }

}


.about {
    margin: 0px;
    bottom: 0px;
    border-radius: 0%;
    background-color: #ffffff;
    width: 100%;

    //RickyFlex
    .container {
        //弹性布局
        padding: 3em 0em; //如果子元素都有上边距的话 那么就加到父元素身上这样不用每个都添加
        display: flex;
    }

    .left {
        flex-shrink: 0; //不允许缩放
        width: 55%;
    }

    .right {
        .top {
            margin: 0px 0px 10px;
            color: #7f7d7d;
            font-size: 1.5em;
            text-transform: uppercase;
        }

        .bottom {
            margin: 10px 0px;
            font-size: 2em;
            font-family: OSLight;
            text-transform: uppercase;

            span:first-of-type {
                border-bottom: 3px solid #fdbf04;
                font-family: OSBold;
            }

            span:last-of-type {
                font-family: OSBold;
                color: #fdbf04;
            }
        }

        .wenben {
            margin: 30px 0px;
            color: #7f7d7d;
        }

        .liebiao {
            margin: 30px 0px;
            color: #7f7d7d;

            span {
                text-transform: uppercase;
                font-size: 1em;
                color: #000;
            }

            li {
                width: 100%;
                margin-bottom: 1em;
                color: #7f7d7d;
                display: flex;
                align-items: center;
                align-content: center;
                // 弹性盒子元素不换行
                flex-wrap: nowrap;

                // 文本不换行
                white-space: nowrap;
                overflow: hidden;

                // 超出的部分可以省略号
                text-overflow: ellipsis;
            }

            li span:first-of-type {
                margin-right: 0.5em;
            }

            li span:last-of-type {
                font-family: OSbold;
                margin-right: .3em;
            }
        }

        .tubiao {
            margin: 20px 0px;
            width: 45%;
            border: 1px solid #6c6c6c;
            border-radius: 3px;
            transition: 0.3s;

            display: flex;
            justify-content: center;
            align-items: center;
            padding: .7em 0em;
            cursor: pointer;


            span:first-of-type {
                margin-right: 6px;
            }

            span:last-of-type {
                text-transform: uppercase;
                margin-top: 3px;
            }

            &:hover {
                transform: translateY(-10px);
                box-shadow: 0px 10px 10px #6c6c6c;
            }

        }


    }


    @media screen and (max-width:1000px) {
        .left {
            width: 50%;
        }

        .right {
            .tubiao {
                width: 65%;
            }
        }

    }

    @media screen and (max-width:600px) {
        .container {
            padding: 3em .5em;
        }

        .left {
            display: none;
        }

        .right {
            width: 100%;

            .tubiao {
                width: 50%;
            }
        }
    }
}


.team {
    background-color: #000;
    padding: 3em 0em;

    .container {
        width: 100%;
        margin: 40px 20px;

        .title {
            width: 100%;
            text-align: center;
            font-size: 2.5em;
            color: #fff;
            text-transform: uppercase;
            background: url('../images/title-background.png') no-repeat center bottom;
            padding-bottom: .7em;
            margin-bottom: 2em;

            span {
                font-family: OSbold;
            }
        }
    }


    .list {
        width: 100%;
        display: flex;
        justify-content: space-between;

        .item {
            width: 23%;

            .image {
                width: 50%;
                margin: 0 auto;
                border-radius: 100px;
                overflow: hidden;
                margin-bottom: 10px;
            }

            .font {
                display: flex;
                flex-wrap: wrap;

                h1,
                h4,
                p {
                    width: 100%;
                    text-align: center;
                    color: #fff;
                }

                h1 {
                    font-family: OSbold;
                }

                h4 {
                    margin-bottom: 1em;
                }
            }
        }
    }

    @media screen and (max-width:600px) {
        .list {
            flex-wrap: wrap;

            .item {
                width: 100%;
                display: flex;
                margin-bottom: 1.2em;

                .image {
                    border-radius: 0px;
                    margin-right: .8em;
                }

                .font {

                    h1,
                    h4,
                    p {
                        text-align: left;
                        font-size: 1em;
                    }

                    h1 {
                        margin-top: -12px;
                    }

                    h4 {
                        margin-bottom: .4em;
                    }
                }
            }
        }
    }
}

.tea {
    background-color: #fff;
    padding: 3em 0em;

    p {
        font-size: 1.5em;
        color: #999999;
        margin-top: 1em;
        margin-bottom: 3em;
    }


    .ti {
        width: 100%;
        text-align: center;
        font-size: 2.5em;
        color: #999999;
        text-transform: uppercase;
        font-family: OSbold;
        background: url('../images/title-background.png') no-repeat center bottom;
        padding-bottom: .7em;
        margin-bottom: 2em;

        span {
            color: #000;
        }
    }

    .lis {
        display: flex;
        justify-content: space-between;
        align-items: center;

        .it {
            width: 23%;

            .image {
                width: 100px;
                height: 100px;
                margin: 0 auto;
                overflow: hidden;
                margin-bottom: 10px;
                border: 6px #f39419 solid;
                border-radius: 100%;
                box-shadow: 0px 0px 0px 1px #f39419;


            }

            .font {
                display: flex;
                flex-wrap: wrap;

                h1,
                p {
                    width: 100%;
                    text-align: center;
                    color: #000;
                }

                h1 {
                    font-family: OSbold;
                }

                p {
                    color: #999999;
                }


            }
        }
    }
    

    @media screen and (max-width:600px) {
        .lis {
            flex-wrap: wrap;

            .it {
                width: 80%;
                display: flex;
                margin-bottom: 1.2em;
                justify-content: center;
                align-items: center;
                font-size: 1.2em;
                padding: 5px;

                .image {
                    width: 40%;
                    height: 40%;
                    margin: 1em;
                    border: 1px #fcac45 solid;
                    border-radius: 100%;
                }

                .font {

                    h1,
                    p {
                        text-align: left;
                        font-size: 1em;
                    }

                    h1 {
                        margin-top: -12px;
                    }
                }
            }
        }
    }
}

.some {
    background-color: #000;

    .title {
        display: flex;
        justify-content: center;
        color: #fff;
        padding-top: 3em;
        padding-bottom: 1em;
        background: url(../images/title-background.png)no-repeat bottom center;

        .one {
            font-size: 40px !important;

            .span {
                font-family: OSbold;

            }
        }


    }

    .text {
        display: flex;
        justify-content: center;
        color: #fff;
        padding-top: 3em;
        padding-bottom: 3em;


        .two {
            color: #999999;
            font-size: 36px;
            letter-spacing: .3em;
            font-family: OSbold;

        }

        .span {
            font-family: OSbold;
        }
    }

    .but {
        display: flex;
        justify-content: center;
        gap: 20px;
        padding: 60px;

        .color {
            width: 15px;
            height: 15px;
            transition: background-color 0.3s ease;

            &:hover {
                background-color: hwb(45 0% 0%);
            }
        }
    }
    @media screen and (max-width: 1000px) {
        .text{
            .two{
                font-size: 1.5em;
                text-align: center;
            }
        }
        .title{
            .one{
                font-size: 1.5em;
                text-align: center;
            }
        }
    }
}

.take {
    width: 100%;

    .box {
        width: 80%;
        margin: 10px auto;

        .top {
            width: 100%;
            margin: 1px auto;
            margin-top: 5px;
            margin-bottom: 5px;

            .text {
                text-transform: uppercase;
                text-align: center;
                font-size: 2.5em;
                font-family: OSLight;
                background: url(../images/title-background.png)no-repeat bottom center;
                padding-bottom: .8em;
               

                span {
                    font-family: OSBlod;
                }
            }

        }

        .text {
            font-size: 1.2em;
            color: #999999;
            margin-top: 30px;
            margin-bottom: 30px;
            text-align: center;
        }

        .list {
            margin-bottom: 20px;
            display: flex;
            justify-content: space-between;

            .left {
                font-family: OSbold;
                text-overflow: ellipsis;
                white-space: nowrap;
                overflow: hidden;
            }

            .right {
                text-overflow: ellipsis;
                white-space: nowrap;
                overflow: hidden;
                letter-spacing: 0.2em;

                a {
                    color: #999999;
                    transition: all linear .2s;

                    &:hover {
                        color: #000;
                        transform: translate(-5px);
                        box-shadow: 0px 0px 10px 0px #000;

                    }
                }
            }

            .choose{
                display: none;
            }

        }

        .picture {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            width: 100%;

            .item {
                margin-bottom: 2em;
                width: 23%;

                .one {
                    position: relative;
                    overflow: hidden;
                    width: 100%;
                    height: 100%;

                    img {
                        width: 100%;
                        height: 100%;
                    }

                    .mask {
                        top: -130%;
                        height: 100%;
                        width: 100%;
                        position: absolute;
                        text-align: center;
                        color: #fff;
                        background-color: #000;

                        transition: all .2s linear;


                        h1 {
                            margin-top: 20px;
                            font-size: 1.5em;

                        }

                        p {
                            font-size: 1.2em;
                            margin-bottom: 30px;
                        }

                        .plus {
                            height: 40px;
                            width: 40px;
                            border: 1px solid #f68e06;
                            color: #f68e06;
                            font-size: 2em;
                            border-radius: 100%;
                            margin: 0 auto;


                        }
                    }

                    &:hover .mask {
                        top: 0%;
                    }
                }
            }
        }

    }

    @media screen and (max-width:950px) {
        .box {
            .list {
                font-size: 1em;
                width: 100%;
                display: flex;
                justify-content: space-between;
                align-items: center;

                .right {
                    display: none;
                }
            }

            .picture {
                .item {
                    display: flex;
                    flex-wrap: wrap;
                    justify-content: space-between;
                    width: 40%;
                }



            }
        }
    }
}

.testimonials {
    background-color: #000;

    .title {
        display: flex;
        justify-content: center;
        color: #fff;
        padding-top: 3em;
        padding-bottom: 1em;
        background: url(../images/title-background.png)no-repeat bottom center;

        .one {
            font-size: 40px !important;

            .span {
                font-family: OSbold;
            }
        }


    }

    .text {
        display: flex;
        justify-content: center;
        color: #fff;
        padding-top: 3em;
        padding-bottom: 3em;


        .two {
            color: #fff;
            font-size: 1.5em;
            letter-spacing: 0.5px;
            text-align: center;
        }
    }

    .three {
        color: #999999;
        font-size: 1.2em;
        text-align: center;
    }

    .but {
        display: flex;
        justify-content: center;
        gap: 20px;
        padding: 60px;

        .color {
            width: 15px;
            height: 15px;
            transition: background-color 0.3s ease;

            &:hover {
                background-color: hwb(45 0% 0%);
            }
        }
    }
}

.feel {
    width: 100%;

    .box {
        width: 80%;
        margin: 0px auto;
        text-align: center;

        .title {
            width: 100%;
            margin: 0px auto;
            margin-top: 10px;
            margin-bottom: 10px;

            .text {
                text-transform: uppercase;
                font-size: 2em;
                background: url(../images/title-background.png)no-repeat bottom center;
                font-family: OSLight;
                padding-bottom: 1em;

                span {
                    font-family: OSLight;
                }
            }
        }

        p {
            font-size: 1.3em;
            color: #999999;
            margin-bottom: 80px;
        }

        .top {
            width: 100%;
            text-align: center;

            .first {
                width: 100%;
                line-height: 100px;

                .one {
                    width: 100%;

                    h1 {
                        color: #999999;
                        font-size: 1.5em;
                        float: left;

                        sup {
                            color: red;
                        }
                    }

                    input {
                        height: 40px;
                        width: 100%;
                        margin-bottom: 50px;
                    }
                }

            }

            .second {
                width: 100%;
                line-height: 100px;
                margin-bottom:20px;

                .two {
                    width: 100%;

                    h1 {
                        color: #999999;
                        font-size: 1.5em;
                        float: left;

                        sup {
                            color: red;
                        }
                    }

                    input {
                        height: 120px;
                        width: 100%;
                        margin-bottom: 50px;
                    }

                    textarea{
                        width:100%;
                        height:120px;
                        line-height: 1;
                    }
                }

            }

            .third {
                width: 100%;

                .three {
                    background-color: #fdbf04;
                    width: 30%;
                    height: 40px;
                    margin-bottom: 200px;
                    border:0px solid transparent;
                    color:#fff;
                    transition: all linear .3s;


                    &:hover {
                        transform: translateY(-10px);
                        box-shadow: 0px 2px 5px 0px rgba(254, 182, 0, 0.872);
                    }
                }
            }
        }
    }
}

.bott {
    width: 100%;
    height: auto;
    background-color: #000;
    padding-top: 3em;
    padding-bottom: 3em;

    .box {
        width: 100%;
        display: flex;
        justify-content: space-around;
        align-content: center;

        .left {
            color: #fff;
            font-size: 1.5em;
            color: #999999;

            span {
                font-family: OSLight;
                font-weight: bold;
            }



        }


        .right {
            width: 40%;
            display: flex;
            justify-content: space-evenly;

            img {
                border: 2px #fff solid;
                width: 100%;
                height: 40px;
                border-radius: 100%;
                display: flex;
                transition: all .1s linear;

                &:hover {
                    transform: translateY(-10px);
                    box-shadow: 0px 0px 10px 0px #c3c3c3;

                }

            }


        }
    }

    @media screen and (max-width:900px) {
        .box {
            flex-direction: column;

            .left {
                text-align: center;
                font-size: 1em;
                margin-top: 10px;
                white-space: nowrap;
            }

            .right {
                width: 100%;
                justify-content: space-evenly;
                white-space: normal;
                margin: 10px;
                padding: 20px;
            }
        }
    }



}